<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*, java.io.*, java.text.SimpleDateFormat" %>
<%@ page import="model.SiteConfig, servlet.Userlangue" %>
<% 
	Userlangue local =new Userlangue();
	if(request.getParameter("language") !=null){
		String userLang=request.getParameter("language");
		if(userLang.equals("fr")){
			local= new Userlangue("fr");
			request.getSession().setAttribute("lang", local.getUserLang());
		}else if(userLang.equals("en")){
			local= new Userlangue("en");
			request.getSession().setAttribute("lang", local.getUserLang());
		}
	}
	if(request.getSession().getAttribute("lang")==null){
		request.getSession().setAttribute("lang", local.getUserLang());
	}
	ResourceBundle traduc= ResourceBundle.getBundle("resource",(Locale)request.getSession().getAttribute("lang"));
%>
 <% SiteConfig siteC=new SiteConfig(); %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<%= local%>" xml:lang="<%= local%>">
<head>
    <!--
    Created by Artisteer v2.4.0.24559
    Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
    -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><%= traduc.getString("TITLE") %> </title>
    
	<link rel="stylesheet" href="<%= siteC.getCssDir() %>reset.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<%= siteC.getCssDir() %>style.css" type="text/css" media="screen" />
    <!--[if IE 6]><link rel="stylesheet" href="<%= siteC.getCssDir() %>style.ie6.css" type="text/css" media="screen" /><![endif]-->

    <!--[if IE 7]><link rel="stylesheet" href="<%= siteC.getCssDir() %>style.ie7.css" type="text/css" media="screen" /><![endif]-->

    <script type="text/javascript" src="<%= siteC.getJsDir() %>script.js"></script>
</head>
<body>
    <div id="art-page-background-gradient"></div>
    <div id="art-page-background-glare">
        <div id="art-page-background-glare-image"></div>
    </div>
    <div id="art-main">

        <div class="art-sheet">
            <div class="art-sheet-tl"></div>
            <div class="art-sheet-tr"></div>
            <div class="art-sheet-bl"></div>
            <div class="art-sheet-br"></div>
            <div class="art-sheet-tc"></div>
            <div class="art-sheet-bc"></div>
            <div class="art-sheet-cl"></div>
            <div class="art-sheet-cr"></div>

            <div class="art-sheet-cc"></div>
            <div class="art-sheet-body">
                <div class="art-header">
                    <div class="art-header-png"></div>
                    <div class="art-header-jpeg"></div>
                    <script type="text/javascript" src="swfobject.js"></script>
                    <div id="art-flash-area">
                    <div id="art-flash-container">

                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="874" height="200" id="art-flash-object">
                    	<param name="movie" value="<%= siteC.getSwfDir() %>container.swf" />
                    	<param name="quality" value="high" />
                    	<param name="scale" value="default" />
                    	<param name="wmode" value="transparent" />
                    	<param name="flashvars" value="color1=0xFFFFFF&amp;alpha1=.70&amp;framerate1=24&amp;clip=images/flash.swf&amp;radius=4&amp;clipx=0&amp;clipy=-9&amp;initalclipw=900&amp;initalcliph=225&amp;clipw=874&amp;cliph=218&amp;width=874&amp;height=200&amp;textblock_width=0&amp;textblock_align=no" />
                        <param name="swfliveconnect" value="true" />
                    	<!--[if !IE]>-->
                    	<object type="application/x-shockwave-flash" data="<%= siteC.getSwfDir() %>container.swf" width="874" height="200">

                    	    <param name="quality" value="high" />
                    	    <param name="scale" value="default" />
                    	    <param name="wmode" value="transparent" />
                        	<param name="flashvars" value="color1=0xFFFFFF&amp;alpha1=.70&amp;framerate1=24&amp;clip=images/flash.swf&amp;radius=4&amp;clipx=0&amp;clipy=-9&amp;initalclipw=900&amp;initalcliph=225&amp;clipw=874&amp;cliph=218&amp;width=874&amp;height=200&amp;textblock_width=0&amp;textblock_align=no" />
                            <param name="swfliveconnect" value="true" />
                    	<!--<![endif]-->
                    		<div class="art-flash-alt"><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></div>
                    	<!--[if !IE]>-->
                    	</object>

                    	<!--<![endif]-->
                    </object>
                    </div>
                    </div>
                    <script type="text/javascript">swfobject.switchOffAutoHideShow();swfobject.registerObject("art-flash-object", "9.0.0", "swf/expressInstall.swf");</script>
                    <div class="art-logo">
                        <h1 id="name-text" class="art-logo-name"><a href="#">       MAETEC </a></h1>

                        <div id="slogan-text" class="art-logo-text">Together for your pleasure</div>
                    </div>
                </div>
                <div class="art-nav">
                	<div class="l"></div>
                	<div class="r"></div>
                	<ul class="art-language">
                		<li>
                			<a href="index.jsp?language=fr" class="fr"><span><%= traduc.getString("FRENCH") %></span></a>
                		</li>
                		<li>
                			<a href="index.jsp?language=en" class="en"><span><%= traduc.getString("ENGLISH") %></span></a>
                		</li>
                	</ul>
                	<ul class="art-menu">
                		<li>

                			<a href="#" class="active"><span class="l"></span><span class="r"></span><span class="t"><%= traduc.getString("HOME") %></span></a>
                		</li>
						<li>

                			<a href="#"><span class="l"></span><span class="r"></span><span class="t">Prestations</span></a>
                			<ul>
                				<li><a href="#">Telecommunications</a>
                					<ul>

                						<li><a href="#">Menu Subitem 1.1</a></li>
                						<li><a href="#">Menu Subitem 1.2</a></li>
                						<li><a href="#">Menu Subitem 1.3</a></li>
                					</ul>
									</li>
                				<li><a href="#">Informatique</a></li>
                				<li><a href="#">Electronique</a></li>
								<li><a href="#">Electricite</a></li>
								<li><a href="#">Formations</a></li>
                			</ul>
                			
                		</li>
						<li>

                			<a href="#" class="active"><span class="l"></span><span class="r"></span><span class="t"><%= traduc.getString("MEMBER") %></span></a>
                		</li>
						<li>

                			<a href="#" class="active"><span class="l"></span><span class="r"></span><span class="t"><%= traduc.getString("ANNONCES") %></span></a>
                		</li>
                		
                	</ul>
                	<div class="clear"></div>
                </div>
                <div class="art-content-layout">
                    <div class="art-content-layout-row">

                        <div class="art-layout-cell art-sidebar1">
                            <div class="art-block">
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">Inscriptions:</div>
                                            </div>

                                            <div class="art-blockcontent">
                                                <div class="art-blockcontent-body">
                                            <!-- block-content -->
                                                            <div><form method="get" id="newsletterform" action="javascript:void(0)">
                                                            <input type="text" value="" name="email" id="s" style="width: 95%;" />
                                                            <span class="art-button-wrapper">
                                                            	<span class="l"> </span>
                                                            	<span class="r"> </span>

                                                            	<input class="art-button" type="submit" name="search" value="Subscribe" />
                                                            </span>
                                                            
                                                            </form></div>
                                            <!-- /block-content -->
                                            
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>

                            </div>
                            <div class="art-vmenublock">
                                <div class="art-vmenublock-body">
                                            <div class="art-vmenublockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">Navigation</div>
                                            </div>

                                            <div class="art-vmenublockcontent">
                                                <div class="art-vmenublockcontent-body">
                                            <!-- block-content -->
                                                            <ul class="art-vmenu">
                                                            	<li>
                                                            	<a href="page.html?i1"><span class="l"></span><span class="r"></span><span class="t">Accueil</span></a>
                                                            	</li>
																<li>
                                                            	<a href="page.html?i1"><span class="l"></span><span class="r"></span><span class="t">Actualites</span></a>
                                                            	</li>
																<li>
                                                            	<a href="page.html?i1"><span class="l"></span><span class="r"></span><span class="t">Realisations</span></a>
                                                            	</li>
                                                            	
                                                            	
                                                            				

                                                            	<li>
                                                            		<a href="page.html?i6"><span class="l"></span><span class="r"></span><span class="t">Forum</span></a>
                                                            	</li>
																<li>
                                                            		<a href="page.html?i6"><span class="l"></span><span class="r"></span><span class="t">Livre d'Or</span></a>
                                                            	</li>
                                                            	
                                                            	<li>
                                                            		<a href="contact.html?i8"><span class="l"></span><span class="r"></span><span class="t">Contact</span></a>

                                                            	</li>
                                                            </ul>
                                            <!-- /block-content -->
                                            
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>

                            <div class="art-block">
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">Contact Info</div>
                                            </div>
                                            <div class="art-blockcontent">

                                                <div class="art-blockcontent-body">
                                            <!-- block-content -->
                                                            <div>
                                                                  <img src="<%= siteC.getImagesDir() %>contact.jpg" alt="an image" style="margin: 0 auto;display:block;width:95%" />
                                                            <br />
                                                            <b><%= siteC.getSitesName() %></b><br />
                                                            <%= siteC.getAdresse() %><br />
                                                            E-mail: <a href="mailto:<%= siteC.getSiteEmail() %>"><%= siteC.getSiteEmail() %></a><br />

                                                            <br />
                                                            <%= traduc.getString("TEL") %>: <%= siteC.getContactTel() %> <br />
                                                            Fax: <%= siteC.getFax() %>
                                                            </div>
                                            <!-- /block-content -->
                                            
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>

                                </div>
                            </div>
                        </div>
                        <div class="art-layout-cell art-content">
                            <div class="art-post">
                                <div class="art-post-body">
                            <div class="art-post-inner art-article">
                            <%= siteC.getUpdate() %>